//@author A0105543N
#ifndef XPENSITEM_H
#define XPENSITEM_H

#include "Item.h"

using namespace std;

class XpensItem:public Item{//everything is similar to payment, only difference is for expense the extra field is venue
    private:
    public:
		void writefile(char*);
		bool recordExtra();
		bool isexpense();
		void record_from_file(ifstream&, streampos);
		bool compare(Item&);
		void print();
};
#endif
